package com.raising.modules.code.service;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.raising.framework.service.CrudService;
import com.raising.modules.code.dao.CodeTemplateDao;
import com.raising.modules.code.entity.CodeTemplate;

/**
* 模板 Service层
* @author gaoyuan
* @createTime 2018-01-02 20:24:58
*/
@Service
@Transactional(rollbackFor = Exception.class)
public class CodeTemplateService extends CrudService<CodeTemplateDao, CodeTemplate> {
    /**
     *
     * @author GaoYuan
     * @datetime 2018/1/4 下午4:28
     * @param author 作者
     * @param outPath 输出地址
     * @param table 表名
     * @param templateId 模板标识
     * @param tableDesc 表备注
     */
    @Transactional(rollbackFor = Exception.class)
    public void insertStartOne(String templateId,String outPath,String author,String table,String tableDesc){
        //获取模板相关内容
        CodeTemplate codeTemplate = dao.get(templateId);

    }
}
